<select class="form-select" ng-model="$ctrl.model" ng-change="$ctrl.onSelect()"><option ng-if="$ctrl.allowNull" selected="selected">-- select --</option><option ng-repeat="item in $ctrl.options" ng-value="item">{{item}}</option></select>